var data = dialogs.rawInput("请输入好友链接")
// 对链接进行操作
var index;
if(-1 < (index=data.indexOf("?"))){
    data = "https://sky.thatg.co/"+data.substring(index);
}
log("最终结果：", data)

app.startActivity({ 
    action: "android.intent.action.VIEW", 
    data: data, 
    packageName: "com.tgc.sky.android", 
});